local extension = Package:new("ling_insurrect")
extension.extensionName = "lingling"

extension:loadSkillSkelsByPath("./packages/lingling/pkg/ling_20_insurrect/skills")

local chensheng = General:new(extension, "lingling__chensheng", "chu", 4)
table.insert(Fk.lords, "lingling__chensheng")
chensheng:addSkills { "lingling__qiyi", "lingling__bennan" }
chensheng.endnote = "<br><font color='#a40000'>王侯将相，宁有种乎？"
Fk:loadTranslationTable{
  ["lingling__chensheng"] = "陈胜",
  ["#lingling__chensheng"] = "鸿鹄之志",
  ["designer:lingling__chensheng"] = "伶",
}

local huangchao = General:new(extension, "lingling__huangchao", "qi", 4)
table.insert(Fk.lords, "lingling__huangchao")
huangchao:addSkills { "lingling__zhuluan", "lingling__huakai" }
huangchao.endnote = "<br><font color='#a40000'>冲天香阵透长安，满城尽带黄金甲。"
Fk:loadTranslationTable{
  ["lingling__huangchao"] = "黄巢",
  ["#lingling__huangchao"] = "青帝",
  ["designer:lingling__huangchao"] = "伶",
}

local fangla = General:new(extension, "lingling__fangla", "qun", 4)
fangla:addSkills { "lingling__kaicang", "lingling__zhenbi" }
fangla.endnote = "<br><font color='#a40000'>是法平等，无有高下！"
Fk:loadTranslationTable{
  ["lingling__fangla"] = "方腊",
  ["#lingling__fangla"] = "圣公",
  ["designer:lingling__fangla"] = "伶",
}

local hanshantong = General:new(extension, "lingling__hanshantong", "qun", 4)
hanshantong:addSkills { "lingling__chuanjiao", "lingling__mingwang" }
hanshantong:addRelatedSkill("lingling__shengonghuti")
hanshantong.endnote = "<br><font color='#a40000'>帝王之兴，必有先驱者资之以成其业，夫岂偶然哉！"
Fk:loadTranslationTable{
  ["lingling__hanshantong"] = "韩山童",
  ["#lingling__hanshantong"] = "醒世白莲",
  ["designer:lingling__hanshantong"] = "伶",
}

local lizicheng = General:new(extension, "lingling__lizicheng", "qun", 4)
table.insert(Fk.lords, "lingling__lizicheng")
lizicheng:addSkills { "lingling__qingshi" }
lizicheng.endnote = "<br><font color='#a40000'>杀牛羊，备酒浆，开了城门迎闯王，闯王来了不纳粮。"
Fk:loadTranslationTable{
  ["lingling__lizicheng"] = "李自成",
  ["#lingling__lizicheng"] = "闯王",
  ["designer:lingling__lizicheng"] = "伶",
}

local zhangxianzhong = General:new(extension, "lingling__zhangxianzhong", "qun", 4)
zhangxianzhong:addSkills { "lingling__guxing", "lingling__chenyin" }
zhangxianzhong.endnote = "<br><font color='#a40000'>天生万物与人，人无一物与天。"
Fk:loadTranslationTable{
  ["lingling__zhangxianzhong"] = "张献忠",
  ["#lingling__zhangxianzhong"] = "大西王",
  ["designer:lingling__zhangxianzhong"] = "伶",
}

local wangbo = General:new(extension, "lingling__wangbo", "sui", 4)
wangbo:addSkills { "lingling__bailang", "lingling__qufu" }
wangbo.endnote = "<br><font color='#a40000'>长白山前知事郎，纯著红罗锦背裆，"..
"<br>长矛侵天半，轮刀耀日光，"..
"<br>上山吃獐鹿，下山吃牛羊，"..
"<br>忽闻官军至，提刀向前荡，"..
"<br>譬如辽东死，斩头何所伤。"
Fk:loadTranslationTable{
  ["lingling__wangbo"] = "王薄",
  ["#lingling__wangbo"] = "知世郎",
  ["designer:lingling__wangbo"] = "伶",
}

return extension
